/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package salarie;

/**
 *
 * @author Gatoper
 */
public class Employee extends Rol{
    protected double payRate;

        public Employee(double payRate){
		setPayRate(payRate);
	}
    
	public void setPayRate(double payrate) {
		this.payRate = payrate;
	}

	public double getPayRate() {
		return payRate;
	}

	public String toString(){
		return super.toString() + "\nPay Rate: " + payRate;
	}

}
